package org.zhuy.notification;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class UseNotificationActivity extends Activity {

	Button button;
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        button=(Button)findViewById(R.id.btn_location);
        button.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View v) {
				startService(new Intent(UseNotificationActivity.this,GetLocationNowService.class));
			}
        	
        });
    }
}